package com.example.kaiqiang.dagger2demo

import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.example.kaiqiang.dagger2demo.R
import kotlinx.android.synthetic.main.webview.*

class WebViewActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.webview)
        tv_title.text = intent.getStringExtra("title")
        webview.loadUrl(intent.getStringExtra("url"))
    }
}